package com.xmy.solution.mapper;

import com.xmy.solution.domain.Categories;
import com.xmy.solution.domain.dto.solution.SolutionAppResDTO;
import com.xmy.solution.domain.dto.userRecommend.UserRecommendDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserRecommendMapper {
    List<SolutionAppResDTO> selectSolutionAppReqDTOList(@Param("userId") Long userId);

    List<Categories> selectCategoryListByUserId(Long userId);

    void deleteUserRecommendByUserId(Long userId);

    int insertUserRecommend( @Param("dto") UserRecommendDTO userRecommendDTO);
}
